package com.gem.entity;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

/**
 * @author 刘聪
 * Created  on 2021/3/16
 */
@Getter
public enum GenderEnum {
    MALE(0,"男"),
    FEMALE(1,"女"),
    SECRET(2,"保密");

    @EnumValue
    private Integer code;
    private String value;

    GenderEnum(Integer code, String value) {
        this.code = code;
        this.value = value;
    }
}
